/**
 * Copyright (c) 2016-2019 人人开源 All rights reserved.
 *
 * https://www.renren.io
 *
 * 版权所有，侵权必究！
 */

package io.renren.modules.systemconfig.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.renren.common.utils.PageUtils;
import io.renren.modules.systemconfig.entity.ProjectBaseEntity;

import java.util.Map;


/**
 * 系统用户
 *
 * @author Mark sunlightcs@gmail.com
 */
public interface ProjectBaseService extends IService<ProjectBaseEntity> {

	PageUtils queryPage(Map<String, Object> params);


	/**
	 * 根据用户名，查询系统用户
	 */
	ProjectBaseEntity queryByKey(String key);

	/**
	 * 保存用户
	 */
	void saveEntity(ProjectBaseEntity entity);
	
	/**
	 * 修改用户
	 */
	void update(ProjectBaseEntity entity);
	
	/**
	 * 删除用户
	 */
	void deleteBatch(Long[] delIds);

    PageUtils treeList(Map<String, Object> params);
}
